#pragma once

typedef DString (*ParamReplaceCallback)(DString param);

class CParamTextUI : public CLabelUI
{
public:
	CParamTextUI();
	~CParamTextUI();

	LPCTSTR GetClass() const;
	LPVOID GetInterface(LPCTSTR pstrName);

	//void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);
	void PaintText(HDC hDC);
	void PaintTextOnCanvas(HDC hDC);

	void SetParamCallback(ParamReplaceCallback cb);

private:
	ParamReplaceCallback m_ParamReplace;
};

